// i18n.js
import { createI18n } from "vue-i18n";
import zhCN from "./zhCN";
import enUS from "./enUS";

// 自定义语言包
const messages = {
  en: enUS,
  zh: zhCN,
};

const i18n = createI18n({
  legacy: false,
  locale: "en",
  fallbackLocale: "en",
  messages,
});

export default i18n;
